package cn.com.shopec.erp.product.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/** 
 * @ClassName: ProdSpecValue 
 * @Description: 货品的规格值的实体
 * @author: lule
 * @date 2013-5-28 下午7:09:39
 *  
 */
@Entity
@Table(name = "TBL_PROD_SPEC_VALUE")
public class ProdSpecValue {
    /** id **/
    private String id;
    /** 货品编号 **/
    private String prodNo;
    /** 规格编号 **/
    private String specNo;
    /** 规格名称 **/
    private String specName;
    /** 规格值的选项的编号 **/
    private String valOptionNo;
    
    
    @GenericGenerator(name = "generator", strategy = "uuid.hex")
    @Id
    @GeneratedValue(generator = "generator")
    @Column(name = "ID", unique = true, nullable = false, length = 32)
	public String getId() {
		return id;
	}

    public void setId(String id) {
		this.id = id;
	}
	
    @Column(name = "PROD_NO")
	public String getProdNo() {
		return prodNo;
	}

    public void setProdNo(String prodNo) {
		this.prodNo = prodNo;
	}
    
    @Column(name = "SPEC_NO")
	public String getSpecNo() {
		return specNo;
	}

    public void setSpecNo(String specNo) {
		this.specNo = specNo;
	}
	
    @Column(name = "SPEC_NAME")
	public String getSpecName() {
		return specName;
	}

    public void setSpecName(String specName) {
		this.specName = specName;
	}

    @Column(name = "VAL_OPTION_NO")
	public String getValOptionNo() {
		return valOptionNo;
	}

	public void setValOptionNo(String valOptionNo) {
		this.valOptionNo = valOptionNo;
	}
    
    
}
